package com.jkl.dao.dept;

import com.jkl.entity.dept.Dept;

import java.util.List;

/**
 * @author liuzhennan
 * @create 2020-11-06 19:06
 */
public interface DeptMapper {

    List<Dept> getDeptList();

    List<Dept> getChildrenDeptListById(String deptId);

    List<Dept> getDeptLevelLt4();

    List<Dept> getFatherDeptListById(String deptId);

    Dept getDept(String deptId);

    Dept getDeptByParenId(Integer parentId);
}
